"use strict";

/**
 * 校验是否为掌中通APP
 *
 * @since 1.1.0
 * @category 端判断
 *
 * @returns { boolean } 校验结果.
 *
 * @example
 *
 * z.isZZTApp()
 * // => true
 *
 */
function isZZTApp() {
  var agent = navigator.userAgent;
  var ZZTReg = /(zzt)/i;
  return ZZTReg.test(agent);
}

module.exports = isZZTApp;